
zeroPaddingM=$1
zeroPaddingN=$2
zeroPaddingK=$3
batchCount=$4

# rm -rf ./quant_gemm/*
# python3 test.py $M $N $K
# python3 prof.py `find ./quant_gemm/ -name "op_summary*.csv" ` $M $N $K

rm -rf ./batchgemm_batch_prof_result/*
cd ..
# python3 test_gen_data.py 0 0 0 $zeroPaddingM $zeroPaddingN $zeroPaddingK $batchCount
# msprof op --application="python3 test.py $problemCount $mList $nList $kList" --output=./prof --launch-count=10 --launch-skip-before-match=5 --kernel-name=batchedMatmul #--aic-metrics=PipeUtilization
msprof op --application="./batchgemm 0 0 $zeroPaddingM $zeroPaddingN $zeroPaddingK $batchCount" --launch-count=5 --output="./batch_test/batchgemm_batch_prof_result"
cd batch_test
python3 ./prof.py `find ./batchgemm_batch_prof_result/* -name "OpBasicInfo.csv" `  $zeroPaddingM $zeroPaddingN $zeroPaddingK $batchCount